/* pages/goods_detail/index.wxss */
page {
    padding-bottom: 90rpx;
}
.detail_swiper {
    swiper {
        height: 70vw;
        text-align: center;
        image {
            width: 60%;
        }
    }
}
.goods_price {
    padding: 15rpx;
    font-size:32rpx;
    font-weight: 600;
    color: var(--themeColor);
}
.goods_name_row {
    display: flex;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    padding: 10rpx 0; 
    .goods_name {
        flex: 5;
        color: #000;
        font-size: 30rpx;
        padding: 0 10rpx;
        border-right: 1px solid #000;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .goods_collect {
        text-align: center;
        flex: 1;
        .icondont{}
        .collect_text {}
    }
}

.btm_tool {
    // 固定定位的都要加一个宽，不然只会被内容撑开
    border-top: 1px solid #ccc;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
    height: 90rpx;
    background-color: #fff;
    text-align: center;
    line-height: 90rpx;
   .tool_item {
        flex: 1;
        font-size: 24rpx;
        position: relative;
        view {
            height: 45rpx;
            line-height: 45rpx;
        }
        button {
            height: 100%;
            width: 100%;
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
        }
   } 
   .tool_item_cart {
       flex: 2;
    color: #fff;

       background-color: #ffa500;
       font-size: 30rpx;
       font-weight: 600;
   }
   .tool_item_buy {
    flex: 2;
    color: #fff;
    background-color: #eb4450;
    font-size: 30rpx;
    font-weight: 600;
   }
   
}